package cn.com.guage.dtm.mapping.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import cn.com.guage.dtm.common.annotation.Excel;
import cn.com.guage.dtm.common.core.domain.BaseEntity;

/**
 * 文档信息对象 mapping_excel_info
 * 
 * @author liujun
 * @date 2021-07-14
 */
public class MappingExcelInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 文档Id */
    private Long excelId;

    /** 目标系统id */
    @Excel(name = "目标系统id")
    private Long targetSysId;

    /** 目标系统代码 */
    @Excel(name = "目标系统代码")
    private String targetSysCode;

    /** 目标系统名称 */
    @Excel(name = "目标系统名称")
    private String targetSysName;

    /** 源系统id */
    @Excel(name = "源系统id")
    private Long sourceSysId;

    /** 源系统代码 */
    @Excel(name = "源系统代码")
    private String sourceSysCode;

    /** 源系统名称 */
    @Excel(name = "源系统名称")
    private String sourceSysName;

    /** 文档名称 */
    @Excel(name = "文档名称")
    private String excelFilename;

    /** 处理状态 */
    @Excel(name = "处理状态")
    private String parseStatus;

    /** 错误信息 */
    @Excel(name = "错误信息")
    private String errorMsg;

    public void setExcelId(Long excelId) 
    {
        this.excelId = excelId;
    }

    public Long getExcelId() 
    {
        return excelId;
    }
    public void setTargetSysId(Long targetSysId) 
    {
        this.targetSysId = targetSysId;
    }

    public Long getTargetSysId() 
    {
        return targetSysId;
    }
    public void setTargetSysCode(String targetSysCode) 
    {
        this.targetSysCode = targetSysCode;
    }

    public String getTargetSysCode() 
    {
        return targetSysCode;
    }
    public void setTargetSysName(String targetSysName) 
    {
        this.targetSysName = targetSysName;
    }

    public String getTargetSysName() 
    {
        return targetSysName;
    }
    public void setSourceSysId(Long sourceSysId) 
    {
        this.sourceSysId = sourceSysId;
    }

    public Long getSourceSysId() 
    {
        return sourceSysId;
    }
    public void setSourceSysCode(String sourceSysCode) 
    {
        this.sourceSysCode = sourceSysCode;
    }

    public String getSourceSysCode() 
    {
        return sourceSysCode;
    }
    public void setSourceSysName(String sourceSysName) 
    {
        this.sourceSysName = sourceSysName;
    }

    public String getSourceSysName() 
    {
        return sourceSysName;
    }
    public void setExcelFilename(String excelFilename) 
    {
        this.excelFilename = excelFilename;
    }

    public String getExcelFilename() 
    {
        return excelFilename;
    }
    public void setParseStatus(String parseStatus) 
    {
        this.parseStatus = parseStatus;
    }

    public String getParseStatus() 
    {
        return parseStatus;
    }
    public void setErrorMsg(String errorMsg) 
    {
        this.errorMsg = errorMsg;
    }

    public String getErrorMsg() 
    {
        return errorMsg;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("excelId", getExcelId())
            .append("targetSysId", getTargetSysId())
            .append("targetSysCode", getTargetSysCode())
            .append("targetSysName", getTargetSysName())
            .append("sourceSysId", getSourceSysId())
            .append("sourceSysCode", getSourceSysCode())
            .append("sourceSysName", getSourceSysName())
            .append("excelFilename", getExcelFilename())
            .append("parseStatus", getParseStatus())
            .append("errorMsg", getErrorMsg())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
